package com.shandiangou.crm.controller;

import com.shandiangou.crm.web.HttpResult;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class WebStatus {

    @RequestMapping("/webStatus")
    @ResponseBody
    public HttpResult status() {
        return HttpResult.Success("ok");
    }

    @RequestMapping("/crm/sessionStatus")
    @ResponseBody
    public HttpResult sessionStatus() {
        return HttpResult.Success("ok");
    }

}
